#!/bin/bash
MYSQL_HOME=/var/lib/mysql
if [ "`ls -A $MYSQL_HOME`" = "" ]; 
then
  mysqld --initialize-insecure --user=root
fi
mysqld --user=root & httpd & tailf /var/log/httpd/access_log